package cn.wolfcode.trip.base.service;

import cn.wolfcode.trip.base.domain.TravelSign;
import cn.wolfcode.trip.base.query.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface ITravelSignService {

    TravelSign get(Long id);

    List<TravelSign> listAll();

    void save(TravelSign travelSign);

    void update(TravelSign travelSign);

    PageInfo queryForList(QueryObject qo);

    void updateState(TravelSign travelSign);

    TravelSign selectByTravelId(Long travelId, Long userId);

    int queryGreatStatusCountByTravelId(Long travelId);

    int queryEnshrineStatusCountByTravelId(Long travelId);
}
